/*
 *  登录
 *
 * @Author:    1024创新实验室-主任：卓大
 * @Date:      2022-09-03 21:59:58
 * @Wechat:    zhuda1024
 * @Email:     lab1024@163.com
 * @Copyright  1024创新实验室 （ https://1024lab.net ），Since 2012
 */
import { getRequest, postRequest,request } from '/src/lib/axios';

export const previewApi = {
  /**
   * 实时图列表 
   */
  newest: (param) => {
    return getRequest('/cameraDevices/queryNewest', param);
  },
  /**
   * 开闸 
   */
  open: (param) => {
    return getRequest('/system/socket/open', param);
  },
  
};
